package org.sibframework.sda.test.objects;

public class CpPatientReason {

    //Fields Generated
    /**
     * 
     * Null able: <tt>false</tt>.<p>
     * Primary Key: <tt>true</tt>.<p>
     * Type: <tt>NUMBER</tt>.
     * Precision: <tt>null</tt>.
     * Scale: <tt>0</tt>.<p>
     * Column: <tt>ID</tt>.<p>
     */
    private java.lang.Long id = null;
    /**
     * 路径ID<p>
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>NUMBER</tt>.
     * Precision: <tt>18</tt>.
     * Scale: <tt>0</tt>.<p>
     * Column: <tt>CP_TEMPLATE_ID</tt>.<p>
     */
    private java.lang.Long cpTemplateId = null;
    /**
     * 
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>VARCHAR2</tt>.
     * Length: <tt>32</tt>.<p>
     * Column: <tt>UPDATE_BY</tt>.<p>
     */
    private java.lang.String updateBy = null;
    /**
     * 
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>DATE</tt>.
     * Length: <tt>7</tt>.<p>
     * Column: <tt>UPDATE_DATE</tt>.<p>
     */
    private java.util.Date updateDate = null;
    /**
     * 
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>VARCHAR2</tt>.
     * Length: <tt>32</tt>.<p>
     * Column: <tt>CREATE_BY</tt>.<p>
     */
    private java.lang.String createBy = null;
    /**
     * 
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>DATE</tt>.
     * Length: <tt>7</tt>.<p>
     * Column: <tt>CREATE_DATE</tt>.<p>
     */
    private java.util.Date createDate = null;
    /**
     * 原因，cp_reason_item 的id<p>
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>NUMBER</tt>.
     * Precision: <tt>18</tt>.
     * Scale: <tt>0</tt>.<p>
     * Column: <tt>REASON_ITEM_ID</tt>.<p>
     */
    private java.lang.Long reasonItemId = null;
    /**
     * 类型，cp_reason_Group  的id<p>
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>NUMBER</tt>.
     * Precision: <tt>18</tt>.
     * Scale: <tt>0</tt>.<p>
     * Column: <tt>REASON_GROUP_ID</tt>.<p>
     */
    private java.lang.Long reasonGroupId = null;
    /**
     * 变异 或者退出说明<p>
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>VARCHAR2</tt>.
     * Length: <tt>512</tt>.<p>
     * Column: <tt>DIRECTIONS</tt>.<p>
     */
    private java.lang.String directions = null;
    /**
     * 类型：0：阶段 ，1：医嘱<p>
     * Null able: <tt>false</tt>.<p>
     * Type: <tt>NUMBER</tt>.
     * Precision: <tt>null</tt>.
     * Scale: <tt>0</tt>.<p>
     * Column: <tt>TYPE</tt>.<p>
     */
    private java.lang.Long type = null;
    /**
     * 
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>NUMBER</tt>.
     * Precision: <tt>18</tt>.
     * Scale: <tt>0</tt>.<p>
     * Column: <tt>PHASE_OR_ADVICE_ID</tt>.<p>
     */
    private java.lang.Long phaseOrAdviceId = null;
    /**
     * 患者信息ID<p>
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>NUMBER</tt>.
     * Precision: <tt>18</tt>.
     * Scale: <tt>0</tt>.<p>
     * Column: <tt>CP_PATIENT_INFO_ID</tt>.<p>
     */
    private java.lang.Long cpPatientInfoId = null;
    /**
     * 或者阶段ID<p>
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>NUMBER</tt>.
     * Precision: <tt>18</tt>.
     * Scale: <tt>0</tt>.<p>
     * Column: <tt>CP_PATIENT_PHASE_ID</tt>.<p>
     */
    private java.lang.Long cpPatientPhaseId = null;

    /**
     * 
     * Null able: <tt>false</tt>.<p>
     * Primary Key: <tt>true</tt>.<p>
     * Type: <tt>NUMBER</tt>.
     * Precision: <tt>null</tt>.
     * Scale: <tt>0</tt>.<p>
     * Column: <tt>ID</tt>.<p>
     */
    public java.lang.Long getId() {
    	return this.id;
    }
    /**
     * 
     * Null able: <tt>false</tt>.<p>
     * Primary Key: <tt>true</tt>.<p>
     * Type: <tt>NUMBER</tt>.
     * Precision: <tt>null</tt>.
     * Scale: <tt>0</tt>.<p>
     * Column: <tt>ID</tt>.<p>
     */
    public void setId(java.lang.Long id) {
    	this.id = id;
    }

    /**
     * 路径ID<p>
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>NUMBER</tt>.
     * Precision: <tt>18</tt>.
     * Scale: <tt>0</tt>.<p>
     * Column: <tt>CP_TEMPLATE_ID</tt>.<p>
     */
    public java.lang.Long getCpTemplateId() {
    	return this.cpTemplateId;
    }
    /**
     * 路径ID<p>
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>NUMBER</tt>.
     * Precision: <tt>18</tt>.
     * Scale: <tt>0</tt>.<p>
     * Column: <tt>CP_TEMPLATE_ID</tt>.<p>
     */
    public void setCpTemplateId(java.lang.Long cpTemplateId) {
    	this.cpTemplateId = cpTemplateId;
    }

    /**
     * 
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>VARCHAR2</tt>.
     * Length: <tt>32</tt>.<p>
     * Column: <tt>UPDATE_BY</tt>.<p>
     */
    public java.lang.String getUpdateBy() {
    	return this.updateBy;
    }
    /**
     * 
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>VARCHAR2</tt>.
     * Length: <tt>32</tt>.<p>
     * Column: <tt>UPDATE_BY</tt>.<p>
     */
    public void setUpdateBy(java.lang.String updateBy) {
    	this.updateBy = updateBy;
    }

    /**
     * 
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>DATE</tt>.
     * Length: <tt>7</tt>.<p>
     * Column: <tt>UPDATE_DATE</tt>.<p>
     */
    public java.util.Date getUpdateDate() {
    	return this.updateDate;
    }
    /**
     * 
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>DATE</tt>.
     * Length: <tt>7</tt>.<p>
     * Column: <tt>UPDATE_DATE</tt>.<p>
     */
    public void setUpdateDate(java.util.Date updateDate) {
    	this.updateDate = updateDate;
    }

    /**
     * 
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>VARCHAR2</tt>.
     * Length: <tt>32</tt>.<p>
     * Column: <tt>CREATE_BY</tt>.<p>
     */
    public java.lang.String getCreateBy() {
    	return this.createBy;
    }
    /**
     * 
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>VARCHAR2</tt>.
     * Length: <tt>32</tt>.<p>
     * Column: <tt>CREATE_BY</tt>.<p>
     */
    public void setCreateBy(java.lang.String createBy) {
    	this.createBy = createBy;
    }

    /**
     * 
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>DATE</tt>.
     * Length: <tt>7</tt>.<p>
     * Column: <tt>CREATE_DATE</tt>.<p>
     */
    public java.util.Date getCreateDate() {
    	return this.createDate;
    }
    /**
     * 
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>DATE</tt>.
     * Length: <tt>7</tt>.<p>
     * Column: <tt>CREATE_DATE</tt>.<p>
     */
    public void setCreateDate(java.util.Date createDate) {
    	this.createDate = createDate;
    }

    /**
     * 原因，cp_reason_item 的id<p>
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>NUMBER</tt>.
     * Precision: <tt>18</tt>.
     * Scale: <tt>0</tt>.<p>
     * Column: <tt>REASON_ITEM_ID</tt>.<p>
     */
    public java.lang.Long getReasonItemId() {
    	return this.reasonItemId;
    }
    /**
     * 原因，cp_reason_item 的id<p>
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>NUMBER</tt>.
     * Precision: <tt>18</tt>.
     * Scale: <tt>0</tt>.<p>
     * Column: <tt>REASON_ITEM_ID</tt>.<p>
     */
    public void setReasonItemId(java.lang.Long reasonItemId) {
    	this.reasonItemId = reasonItemId;
    }

    /**
     * 类型，cp_reason_Group  的id<p>
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>NUMBER</tt>.
     * Precision: <tt>18</tt>.
     * Scale: <tt>0</tt>.<p>
     * Column: <tt>REASON_GROUP_ID</tt>.<p>
     */
    public java.lang.Long getReasonGroupId() {
    	return this.reasonGroupId;
    }
    /**
     * 类型，cp_reason_Group  的id<p>
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>NUMBER</tt>.
     * Precision: <tt>18</tt>.
     * Scale: <tt>0</tt>.<p>
     * Column: <tt>REASON_GROUP_ID</tt>.<p>
     */
    public void setReasonGroupId(java.lang.Long reasonGroupId) {
    	this.reasonGroupId = reasonGroupId;
    }

    /**
     * 变异 或者退出说明<p>
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>VARCHAR2</tt>.
     * Length: <tt>512</tt>.<p>
     * Column: <tt>DIRECTIONS</tt>.<p>
     */
    public java.lang.String getDirections() {
    	return this.directions;
    }
    /**
     * 变异 或者退出说明<p>
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>VARCHAR2</tt>.
     * Length: <tt>512</tt>.<p>
     * Column: <tt>DIRECTIONS</tt>.<p>
     */
    public void setDirections(java.lang.String directions) {
    	this.directions = directions;
    }

    /**
     * 类型：0：阶段 ，1：医嘱<p>
     * Null able: <tt>false</tt>.<p>
     * Type: <tt>NUMBER</tt>.
     * Precision: <tt>null</tt>.
     * Scale: <tt>0</tt>.<p>
     * Column: <tt>TYPE</tt>.<p>
     */
    public java.lang.Long getType() {
    	return this.type;
    }
    /**
     * 类型：0：阶段 ，1：医嘱<p>
     * Null able: <tt>false</tt>.<p>
     * Type: <tt>NUMBER</tt>.
     * Precision: <tt>null</tt>.
     * Scale: <tt>0</tt>.<p>
     * Column: <tt>TYPE</tt>.<p>
     */
    public void setType(java.lang.Long type) {
    	this.type = type;
    }

    /**
     * 
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>NUMBER</tt>.
     * Precision: <tt>18</tt>.
     * Scale: <tt>0</tt>.<p>
     * Column: <tt>PHASE_OR_ADVICE_ID</tt>.<p>
     */
    public java.lang.Long getPhaseOrAdviceId() {
    	return this.phaseOrAdviceId;
    }
    /**
     * 
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>NUMBER</tt>.
     * Precision: <tt>18</tt>.
     * Scale: <tt>0</tt>.<p>
     * Column: <tt>PHASE_OR_ADVICE_ID</tt>.<p>
     */
    public void setPhaseOrAdviceId(java.lang.Long phaseOrAdviceId) {
    	this.phaseOrAdviceId = phaseOrAdviceId;
    }

    /**
     * 患者信息ID<p>
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>NUMBER</tt>.
     * Precision: <tt>18</tt>.
     * Scale: <tt>0</tt>.<p>
     * Column: <tt>CP_PATIENT_INFO_ID</tt>.<p>
     */
    public java.lang.Long getCpPatientInfoId() {
    	return this.cpPatientInfoId;
    }
    /**
     * 患者信息ID<p>
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>NUMBER</tt>.
     * Precision: <tt>18</tt>.
     * Scale: <tt>0</tt>.<p>
     * Column: <tt>CP_PATIENT_INFO_ID</tt>.<p>
     */
    public void setCpPatientInfoId(java.lang.Long cpPatientInfoId) {
    	this.cpPatientInfoId = cpPatientInfoId;
    }

    /**
     * 或者阶段ID<p>
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>NUMBER</tt>.
     * Precision: <tt>18</tt>.
     * Scale: <tt>0</tt>.<p>
     * Column: <tt>CP_PATIENT_PHASE_ID</tt>.<p>
     */
    public java.lang.Long getCpPatientPhaseId() {
    	return this.cpPatientPhaseId;
    }
    /**
     * 或者阶段ID<p>
     * Null able: <tt>true</tt>.<p>
     * Type: <tt>NUMBER</tt>.
     * Precision: <tt>18</tt>.
     * Scale: <tt>0</tt>.<p>
     * Column: <tt>CP_PATIENT_PHASE_ID</tt>.<p>
     */
    public void setCpPatientPhaseId(java.lang.Long cpPatientPhaseId) {
    	this.cpPatientPhaseId = cpPatientPhaseId;
    }
}